import request from '@/utils/request'

//获取所有城市
export function getAllCity(params?: any) {
    return request.get({ url: '/city.manage/getAllCity', params })
}
// 城市列表
export function lists(params?: any) {
    return request.get({ url: '/city.manage/lists', params })
}
// 获取城市详情
export function detail(params?: any) {
    return request.get({ url: '/city.manage/detail', params })
}
//添加城市
export function add(params: any) {
    return request.post({ url: '/city.manage/add', params })
}
//编辑城市
export function edit(params: any) {
    return request.post({ url: '/city.manage/edit', params })
}
//更新城市状态
export function updateStatus(params: any) {
    return request.post({ url: '/city.manage/updateStatus', params })
}
//删除城市
export function cityDelete(params: any) {
    return request.post({ url: '/city.manage/delete', params })
}
